package 设计模式.创建型.工厂模式.sc.impl;

import org.springframework.stereotype.Service;
import 设计模式.创建型.工厂模式.sc.ScheduleLiveClassHandler;
import 设计模式.行为模式.模板模式.Result;

import javax.servlet.http.HttpServletRequest;

/**
 * @author lchenglong
 * @date 2024/1/26
 */
@Service
public class ScheduleLiveClassImpl implements ScheduleLiveClassHandler {

    @Override
    public String getType() {
        return "LIVE";
    }

    @Override
    public Result scheduleClass(HttpServletRequest request) {
        System.out.println("直播课排课");
        return null;
    }
}
